//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Red Hot Chili Peppers, Ken Carson & IRONTOM','Toyota Amphitheatre','Wheatland, CA','Sunday','6/2/2024','7:00 PM','6128969','Red-Hot-Chili-Peppers--Ken-Carson---IRONTOM-6-2-2024'],['Janet Jackson & Nelly','North Island Credit Union Amphitheatre','Chula Vista, CA','Thursday','6/6/2024','8:00 PM','6215279','Janet-Jackson---Nelly-6-6-2024'],['Brooks And Dunn','Toyota Amphitheatre','Wheatland, CA','Saturday','6/8/2024','7:00 PM','6226982','Brooks-And-Dunn-6-8-2024'],['Caifanes & Cafe Tacvba','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','6/8/2024','8:00 PM','6148156','Caifanes---Cafe-Tacvba-6-8-2024'],['Noah Kahan','North Island Credit Union Amphitheatre','Chula Vista, CA','Tuesday','6/18/2024','8:00 PM','5948830','Noah-Kahan-6-18-2024'],['Third Eye Blind, Yellowcard & Arizona','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','6/21/2024','6:30 PM','6203450','Third-Eye-Blind--Yellowcard---Arizona-6-21-2024'],['The Doobie Brothers & Robert Cray Band','North Island Credit Union Amphitheatre','Chula Vista, CA','Tuesday','6/25/2024','7:00 PM','6226827','The-Doobie-Brothers---Robert-Cray-Band-6-25-2024'],['New Kids On The Block','Toyota Amphitheatre','Wheatland, CA','Tuesday','7/2/2024','7:00 PM','6045178','New-Kids-On-The-Block-7-2-2024'],['Noah Kahan','Toyota Amphitheatre','Wheatland, CA','Wednesday','7/3/2024','8:00 PM','5948834','Noah-Kahan-7-3-2024'],['New Kids On The Block','North Island Credit Union Amphitheatre','Chula Vista, CA','Sunday','7/7/2024','7:00 PM','6045182','New-Kids-On-The-Block-7-7-2024'],['Kenny Chesney & Megan Moroney','Toyota Amphitheatre','Wheatland, CA','Thursday','7/18/2024','7:30 PM','6303102','Kenny-Chesney---Megan-Moroney-7-18-2024'],['Barbie: The Movie - In Concert','Toyota Amphitheatre','Wheatland, CA','Friday','7/26/2024','8:00 PM','6302526','Barbie--The-Movie---In-Concert-7-26-2024'],['Barbie: The Movie - In Concert','North Island Credit Union Amphitheatre','Chula Vista, CA','Sunday','7/28/2024','8:00 PM','6302527','Barbie--The-Movie---In-Concert-7-28-2024'],['Outlaw Music Festival: Willie Nelson, Bob Dylan & John Mellencamp','North Island Credit Union Amphitheatre','Chula Vista, CA','Monday','7/29/2024','5:00 PM','6291277','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan---John-Mellencamp-7-29-2024'],['Niall Horan','North Island Credit Union Amphitheatre','Chula Vista, CA','Tuesday','7/30/2024','7:30 PM','5724952','Niall-Horan-7-30-2024'],['Outlaw Music Festival: Willie Nelson, Bob Dylan & John Mellencamp','Toyota Amphitheatre','Wheatland, CA','Sunday','8/4/2024','5:30 PM','6291279','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan---John-Mellencamp-8-4-2024'],['Luke Bryan, George Birge, Meghan Patrick & Josh Ross','North Island Credit Union Amphitheatre','Chula Vista, CA','Thursday','8/8/2024','7:00 PM','6247614','Luke-Bryan--George-Birge--Meghan-Patrick---Josh-Ross-8-8-2024'],['Good Vibes Cali Tour: Rebelution, Matisyahu, Cydeways & DJ Mackle','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','8/16/2024','6:00 PM','6277917','Good-Vibes-Cali-Tour--Rebelution--Matisyahu--Cydeways---DJ-Mackle-8-16-2024'],['Sammy Hagar & Loverboy','Toyota Amphitheatre','Wheatland, CA','Friday','8/16/2024','7:00 PM','6083777','Sammy-Hagar---Loverboy-8-16-2024'],['Lainey Wilson, Jackson Dean & Zach Top','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','8/23/2024','7:00 PM','6021099','Lainey-Wilson--Jackson-Dean---Zach-Top-8-23-2024'],['Slightly Stoopid & Dirty Heads','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','8/24/2024','6:00 PM','6303695','Slightly-Stoopid---Dirty-Heads-8-24-2024'],['Santana & Counting Crows','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','8/30/2024','7:00 PM','6264348','Santana---Counting-Crows-8-30-2024'],['Earth, Wind and Fire & Chicago','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','8/31/2024','7:30 PM','6079791','Earth--Wind-and-Fire---Chicago-8-31-2024'],['Creed, 3 Doors Down & Finger Eleven','Toyota Amphitheatre','Wheatland, CA','Sunday','9/1/2024','7:00 PM','6045231','Creed--3-Doors-Down---Finger-Eleven-9-1-2024'],['Train, REO Speedwagon & Yacht Rock Revue','RV Inn Style Resorts Amphitheater','Ridgefield, WA','Wednesday','9/4/2024','6:25 PM','6239164','Train--REO-Speedwagon---Yacht-Rock-Revue-9-4-2024'],['Five Finger Death Punch','North Island Credit Union Amphitheatre','Chula Vista, CA','Wednesday','9/4/2024','6:30 PM','6311969','Five-Finger-Death-Punch-9-4-2024'],['Train, REO Speedwagon & Yacht Rock Revue','Toyota Amphitheatre','Wheatland, CA','Friday','9/6/2024','6:25 PM','6239165','Train--REO-Speedwagon---Yacht-Rock-Revue-9-6-2024'],['Dan And Shay, Jake Owen & Dylan Marlowe','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','9/6/2024','7:00 PM','6276441','Dan-And-Shay--Jake-Owen---Dylan-Marlowe-9-6-2024'],['Train, REO Speedwagon & Yacht Rock Revue','North Island Credit Union Amphitheatre','Chula Vista, CA','Tuesday','9/10/2024','6:25 PM','6239168','Train--REO-Speedwagon---Yacht-Rock-Revue-9-10-2024'],['The Doobie Brothers & Robert Cray Band','Toyota Amphitheatre','Wheatland, CA','Tuesday','9/10/2024','7:00 PM','6226820','The-Doobie-Brothers---Robert-Cray-Band-9-10-2024'],['The Marley Brothers','North Island Credit Union Amphitheatre','Chula Vista, CA','Wednesday','9/11/2024','7:30 PM','6381718','The-Marley-Brothers-9-11-2024'],['Glass Animals','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','9/13/2024','7:45 PM','6361286','Glass-Animals-9-13-2024'],['Hozier','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','9/14/2024','8:00 PM','6072079','Hozier-9-14-2024'],['Kidz Bop Live','Toyota Amphitheatre','Wheatland, CA','Saturday','9/21/2024','6:00 PM','6220094','Kidz-Bop-Live-9-21-2024'],['Grupo Firme','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','9/28/2024','8:00 PM','6328256','Grupo-Firme-9-28-2024'],['Imagine Dragons','Toyota Amphitheatre','Wheatland, CA','Wednesday','10/2/2024','7:00 PM','6396736','Imagine-Dragons-10-2-2024'],['Pitbull','North Island Credit Union Amphitheatre','Chula Vista, CA','Thursday','10/3/2024','8:00 PM','6399319','Pitbull-10-3-2024'],['Iron Maiden','North Island Credit Union Amphitheatre','Chula Vista, CA','Friday','10/4/2024','7:30 PM','6039531','Iron-Maiden-10-4-2024'],['Imagine Dragons','North Island Credit Union Amphitheatre','Chula Vista, CA','Saturday','10/5/2024','7:00 PM','6396737','Imagine-Dragons-10-5-2024'],['Porter Robinson','Toyota Amphitheatre','Wheatland, CA','Thursday','10/24/2024','8:00 PM','6406768','Porter-Robinson-10-24-2024']],'Sleep Train Amphitheatre','http://www.ticketnetwork.com/ticket/Sleep-Train-Amphitheatre-events.aspx');